package com.group02.community.service;



import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group02.community.entity.dict.SysDictType;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>
 * 字典类型表 服务类
 * </p>
 *
 * @author xl
 * @since 2022-07-01
 */
public interface SysDictTypeService extends IService<SysDictType> {

    // 字典分页
    IPage<SysDictType> selectAllDictionaries(Long current, Long size, SysDictType sysDictType);

    // 批量删除
    void deleteSelectDictionaries(Long[] id);

    //导出文件
    void downloadExcel(HttpServletResponse response) throws IOException;

    boolean hasData(Long[] id);
}
